-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Add support for handling user prompt #15291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
* Add support for handling user prompt * Remove missing guards
User description
Motivation and Context
To add full support of the BiDi protocol of the ruby bindings this PR adds support for handling user prompts through BiDi
Types of changes
Checklist
PR Type
Enhancement, Tests
Description
Added
handle_user_promptmethod to manage user prompts.Introduced tests for handling user prompts in various scenarios.
Updated type signature for
handle_user_promptin RBS file.Changes walkthrough 📝
browsing_context.rb
Add `handle_user_prompt` method for user promptsrb/lib/selenium/webdriver/bidi/browsing_context.rb
handle_user_promptmethod to handle user prompts.browsing_context.rbs
Update RBS with `handle_user_prompt` signaturerb/sig/lib/selenium/webdriver/bidi/browsing_context.rbs
handle_user_promptmethod.browsing_context_spec.rb
Add tests for handling user promptsrb/spec/integration/selenium/webdriver/bidi/browsing_context_spec.rb